            <% content_for :sidebar do -%>
            
            <div class="side_box">
                <ul class="menu">
                    <li><%= image_tag("email_go.png", :align=>"absmiddle")%> <%= link_to "邀请朋友加入", invite_users_path %></li>
                    <% if !current_user.nil? -%>
                    <li><%= image_tag("heart_add.png", :align=>"absmiddle")%> <%= link_to "谁把我列为好友", rfriends_user_path(@user.login) %></li>
                    <% end -%>
                </ul>
            </div>
            
	    <div class="tab">
  		<h3>搜索用户</h3>
	    </div>
	    <div class="clear">
		<center>
                    <% form_tag search_users_path, :method => :get do -%>
                        <input name="q" type="text" size="32" maxlength="72" value="<%="#{params[:q]}"%>" id="page_focus"/>
                        <br/>
                        <input type="submit" value="搜索"/>
                    <% end -%>
                </center>
	    </div>
	    <% end -%>
            
            <% content_for :navbar do -%>
            <div class="box">
                <img class="map" align="absmiddle" alt="You are here" src="/images/map.png"/>
                当前位置
                » <%= link_to "您这儿", :controller =>'browse', :action => 'index' %>
                » 好友列表
            </div>
            <% end -%>
            <div class="box">
                <%= render :partial => 'shared/users', :object => @friends%>
            </div>